package com.flyco.modules.pms.service.impl;

import com.flyco.modules.pms.entity.PmsProductPics;
import com.flyco.modules.pms.mapper.PmsProductPicsMapper;
import com.flyco.modules.pms.service.IPmsProductPicsService;
import org.springframework.stereotype.Service;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @Description: 商品图片
 * @Author: flyco
 * @Date:   2019-12-03
 * @Version: V1.0
 */
@Service
public class PmsProductPicsServiceImpl extends ServiceImpl<PmsProductPicsMapper, PmsProductPics> implements IPmsProductPicsService {
	
	@Autowired
	private PmsProductPicsMapper pmsProductPicsMapper;
	
	@Override
	public List<PmsProductPics> selectByMainId(Long mainId) {
		return pmsProductPicsMapper.selectByMainId(mainId);
	}
	@Override
	public List<PmsProductPics> selectByMainIds(List<Long> mainIds) {
		return pmsProductPicsMapper.selectByMainIds(mainIds);
	}
}
